#include <stdio.h>
#include <stdlib.h>
#include <iostream>

using namespace std;
int main()
{
	int n = 1024*1024*256;
	for(int k = 1; k <= 100; k++){
		string name = "data"+to_string(k);
		cout << name << endl;
		FILE* fp = fopen(name.c_str(), "wb+");
		if(fp == nullptr) cout << "error!" << endl;
		for(int i = 0; i < n; i++){
				fwrite(&i, 1, 4, fp);
		}
		fclose(fp);
	}
	return 0;
}
